package com.fz.dto.system.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collection;

/**
 * @author heshao
 * @date 2021/2/8 15:58
 */
@Data
@ApiModel(value="菜单树", description="菜单树")
public class MenuTreeDto {

    @ApiModelProperty(value = "目录的上级菜单id")
    private Long pid;

    @ApiModelProperty(value = "目录的自身id")
    private Long id;

    @ApiModelProperty(value = "目录的标题")
    private String label;

    @ApiModelProperty(value = "目录的下级菜单")
    private Collection<MenuTreeDto> children;
}
